import http from "@/util/request";

export function selectByJob(params) {
    return http({
        method: "GET",
        url: "/job/selectByJob",
        params: params
    })
}

//修改职位
export function updateByJob(params) {
    return http({
        method: "PUT",
        url: "/job/updateByJob",
        params: params
    })
}

//添加职位
export function addByAdd(params){
    return http({
        method:"POST",
        url:"/job/addByJob",
        params: params
    })
}

//拉黑职位
export function deleteJob(params){
        return http({
        method:"POST",
        url:"/job/deleteJob",
        params: params
    })
}